package iscript.gameFramework.GameLite.directEvent 
{
	
	[Event(name="everything",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="onloadImage",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="onloadsound",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="onloadxml",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="addBitmapData",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="addComponent",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="addComponent",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="addModel",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="addController",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="addxmldata",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	[Event(name="addObjectContent",type="iscript.gameFramework.GameLite.events.GameContentEvent")]
	
	public interface IDirectEventManager 
	{
		/**
		 * 接收
		 * @param	eventName
		 * @param	action
		 */
		function receive(eventName:String, action:*):void;
		
		/**
		 * 发送
		 * @param	eventName
		 * @param	eventData
		 */
		function send(eventName:String, eventData:DirectEventParameter):void;
		
		/**
		 * 销毁
		 * @param	eventName
		 * @param	action
		 */
		function destroy(eventName:String, action:*):void;
	}
	
}